package io.itit.ecp.admin.provide.action.resp.miniprogram;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;


@Data
@ApiModel(value = "消息提醒-详情")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class WarningDetailResp extends WarningResp {

    @ApiModelProperty("设备预警详情")
    private List<WarningDeviceInfo> deviceInfos;

    @Data
    @Accessors(chain = true)
    public static class WarningDeviceInfo {

        @ApiModelProperty("设备Id")
        private String meterDeviceId;

        @ApiModelProperty("设备名称")
        private String deviceName;

        @ApiModelProperty("设备参数")
        private String paramName;

        @ApiModelProperty("能耗类型")
        private String energyTypeName;

        @ApiModelProperty("值")
        private Object value;
    }

}
